﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Maps.MapControl;

namespace BusinessApplication.Model
{

    /// <summary>
    /// This class contains an embedded Location object. It acts as DataContext
    /// for the individual items within MapItemsControl. Thus {Binding Location} translates to LocationData.Location
    /// </summary>
    public class MapItem 
    {
        public Location Location { get; set; }

        public string Id { get; set; }

        public Double Lat { get; set; }

        public Double Lng { get; set; }

        public string Title { get; set; }

        public string Address { get; set; }

        public MapItem() { this.Location = new Location(); }
    }
}
